<!--角色关联用戶modal-->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<div th:fragment="relationRoleModal">
    <template id="relationRoleModal">
        <div>
            <el-dialog title="关联" :visible.sync='show_relation_role_modal' center :show-close="false" size="mini" :close-on-click-modal="false" :close-on-press-escape="false">
                <div slot="footer" class="dialog-footer">
                    <el-button size="mini" @click="cancelRelationRoleDilogHandle">取 消</el-button>
                    <el-button size="mini" @click="confirmRelationRoleDilogHandle" type="primary">确 定</el-button>
                </div>
            </el-dialog>
        </div>
    </template>
    <script>
        const RelationRoleModal = {
            props: {
                show_relation_role_modal: Boolean
            },
            template: '#relationRoleModal',
            data(){
                return {
                }
            },
            methods:{
                cancelRelationRoleDilogHandle: function (){
                    this.$emit('relation_role_modal_close');
                },
                confirmRelationRoleDilogHandle: function () {
                    this.cancelRelationRoleDilogHandle();
                },
            },
        }
    </script>
</div>
</html>